//
//  CEHJCSheetButton.m
//  Education
//
//  Created by Avidya Chan on 2017/11/23.
//  Copyright © 2017年 Avidya. All rights reserved.
//

#import "CEHJCSheetButton.h"

@implementation CEHJCSheetButton


- (CGRect)imageRectForContentRect:(CGRect)contentRect {
    
    CGFloat imageW = 30;
    CGFloat imageH = 30;
    CGFloat imageX = (contentRect.size.width - imageW) * .5f - self.titleLabel.width * .5f;
    CGFloat imageY = (contentRect.size.height - imageH) * .5f;
    
    return CGRectMake(imageX, imageY, imageW, imageH);
}

@end
